#include <stdio.h>
#include <string.h>

int main()
{
    char comm_buf[1024]; //命令缓冲区
    char command[128];   //命令
    int num;
    gets(comm_buf);
    num = sscanf(comm_buf, " %s %[^\n]", command, comm_buf);
    // printf("%d\n", sscanf(comm_buf, " %s %[^\n]", command, comm_buf));
    // strcpy(comm_buf, comm_buf + strlen(command) + 1);
    printf("-%s-\n-%s-\n%d", comm_buf, command, num);
    if (strcmp(command, "touch") == 0) //touch 创建文件夹
    {
        if (sscanf(comm_buf, " %s %[^\n]", command, comm_buf) != 1)
        {
            printf("%s\n%s\n", comm_buf, command);
        }
        printf("%s\n%s\n", comm_buf, command);
    }
    return 0;
}